
//删除公共字符
#include<stdio.h>
int main() {
    char buf1[100] = { 0 };
    char buf2[100] = { 0 };
    char ret[100] = { 0 };
    gets(buf1);//用scanf不能接受空格，遇到空格会结束scanf
    scanf("%s", buf2);
    char* one = buf1;
    int flag = 1;
    int sz = 0;
    while (*one) {
        flag = 1;
        char* two = buf2;
        while (*two) {
            if (*one == *two) {
                flag = 0;
                break;
            }
            two++;
        }
        if (flag) {
            ret[sz++] = *one;
        }
        one++;
    }
    printf("%s", ret);
    return 0;
}